-
Notifications
You must be signed in to change notification settings - Fork 936
[entities] Update terminology for entity attributes #4721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[entities] Update terminology for entity attributes #4721
Conversation
Update terminology in specification/entities/data-model.md. Replace "Identifying Attributes" with "Entity Identity" and "Descriptive Attributes" with "Description Attributes". Related to open-telemetry#4700
c0ea51d to
d95a822
Compare
|
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
|
I wonder how others feel about "description-key attributes" and "identity-key attributes"? |
|
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
| |--------------|----------------------------------------|-----------------| | ||
| | Type | string | Defines the type of the entity. MUST not change during the lifetime of the entity. For example: "service" or "host". This field is required and MUST not be empty for valid entities. | | ||
| | Id | map<string, attribute value> | Attributes that identify the entity.<p>MUST not change during the lifetime of the entity. The Id must contain at least one attribute.<p>Follows OpenTelemetry [attribute definition](../common/README.md#attribute). SHOULD follow OpenTelemetry [semantic conventions](https://github.com/open-telemetry/semantic-conventions) for attributes. | | ||
| | Description | map<string, attribute value> | Descriptive (non-identifying) attributes of the entity.<p>MAY change over the lifetime of the entity. MAY be empty. These attributes are not part of entity's identity.<p>Follows OpenTelemetry [attribute definition](../common/README.md#attribute). SHOULD follow OpenTelemetry [semantic conventions](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/README.md) for attributes. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This language occurs in the protobuf comments as well: https://github.com/open-telemetry/opentelemetry-proto/blob/a5f0eac5b802f7ae51dfe41e5116fe5548955e64/opentelemetry/proto/common/v1/common.proto#L119-L128
If we agree with the direction of this PR, we'll want to open a corresponding PR in that repo to keep the language consistent.
Update terminology in specification/entities/data-model.md. Replace "Identifying" and "Descriptive" terms with "Entity Identity" and "Entity Description".
Related to #4700